const routes = [
    {
        name: '',
        path: '/',
        component: () => import('../views/Home/index.vue')
    },
    {
        name: 'a',
        path: '/a',
        component: () => import('../views/Home/index.vue')
    },
    {
        name: 'b',
        path: '/b',
        component: () => import('../views/Test/index.vue')
    },
    {
        name: 'imgDetail',
        path: '/imgDetail/:id',
        component: () => import('../views/ImgDetail/index.vue')
    },
    {
        name: 'TagImgs',
        path: '/TagImgs',
        component: () => import('../views/TagImgs/index.vue')
    },
    {
        name: 'SetTag',
        path: '/SetTag',
        component: () => import('../views/SetTag/index.vue')
    },
    {
        name: 'AddImg',
        path: '/AddImg',
        component: () => import('../views/AddImg/index.vue')
    },
    {
        name: 'AddTag',
        path: '/AddTag',
        component: () => import('../views/AddTag/index.vue')
    },
    {
        name: 'Login',
        path: '/Login',
        component: () => import('../views/Login/index.vue')
    },
    {
        name: 'RoleAuth',
        path: '/RoleAuth',
        component: () => import('../views/RoleAuth/index.vue')
    },
    {
        name: 'UserInfo',
        path: '/UserInfo',
        component: () => import('../views/UserInfo/index.vue')
    },
];

export default routes
